package com.hp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hp.entity.Department;
import com.hp.mapper.DepartmentMapper;
import com.hp.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements DepartmentService {


    @Autowired
    private DepartmentMapper departmentMapper;

    @Override
    public Integer selectMaxNum() {
        return departmentMapper.selectMaxNum();
    }
}
